home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / rsxwdk2s.zip / RSXWDK / LIBSRC / GDI / GDI154.C < prev    next >
C/C++ Source or Header  |  1994-12-19  |  230b  |  14 lines

  1. #define STRICT
  2. #include <windows.h>
  3. #include <sys/rsxw32.h>
  4.  
  5. COLORREF WINAPI GetNearestColor (HDC par1, COLORREF par2)
  6. {
  7.     STACKWORDS(1+2);
  8.  
  9.     PUSH_WORD(par1);
  10.     PUSH_LONG(par2);
  11.     return WINCALL(154,GDI);
  12. }
  13.  
  14.